package com.zzyl.nursing.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zzyl.common.core.page.TableDataInfo;
import com.zzyl.nursing.domain.Reservation;
import com.zzyl.nursing.dto.OrdersBody;

import java.util.List;

public interface OrdersReservationService extends IService<Reservation> {

    Long getCancelledCount();

    List<Reservation> countByTime(Long time);

    boolean saved(Reservation reservation);

    TableDataInfo<Reservation> reservationList(OrdersBody ob);

    boolean ubi(Long id);
}
